Remove unused ROMLIB memory region macro
authorDaniel Boulby <[email protected]>
Wed, 19 Sep 2018 13:20:46 +0000 (14:20 +0100)
committerAntonio Nino Diaz <[email protected]>
Wed, 3 Oct 2018 10:47:30 +0000 (11:47 +0100)
Remove ARM_MAP_BL_ROMLIB memory region macro as it is now split
into two regions for code and data

Change-Id: Ic17b5b584933c196db29fe83051d7e0a8e92911c
Signed-off-by: Daniel Boulby <[email protected]>
plat/arm/common/arm_bl31_setup.c

index 364e46a9c2285a120c0e11568b137fac29c0895a..ce799b0ff1c821c40d1b42a9a75f6afd0d142084 100644 (file)
@@ -253,12 +253,6 @@ void bl31_plat_runtime_setup(void)
  ******************************************************************************/
 void arm_bl31_plat_arch_setup(void)
 {
-
-#define ARM_MAP_BL_ROMLIB      MAP_REGION_FLAT(                        \
-                                       BL31_BASE,                      \
-                                       BL31_END - BL31_BASE,           \
-                                       MT_MEMORY | MT_RW | MT_SECURE)
-
        const mmap_region_t bl_regions[] = {
                MAP_BL31_TOTAL,
                ARM_MAP_BL_RO,